//
//  XDTodoDetailYbViewController.m
//  iphone.mobileoa
//
//  Created by 李亚春 on 13-7-6.
//  Copyright (c) 2013年 Epoint. All rights reserved.
//

#import "XDTodoDetailYbViewController.h"
#import "Handle_GetArchive_Done_Task.h"

@interface XDTodoDetailYbViewController ()
{
    NSString *MessageItemGuid;
    NSString *getDetailTaskGuid;
}
@end

@implementation XDTodoDetailYbViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
        self.title = @"已办详情";
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    MessageItemGuid = [intentParams objectForKey:@"MessageItemGuid"];
    
    NSMutableDictionary *params = self.getPassDictionary;
    [params setObject:MessageItemGuid forKey:@"MessageItemGuid"];
    [self showMBPHUD];
    getDetailTaskGuid = [[[Handle_GetArchive_Done_Task alloc]initWithContext:self andParams:params]startTask];
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc {
    [wv release];
    [tabBar release];
    [tbiBd release];
    [tbiBz release];
    [tbiFj release];
    [tvFj release];
    [tvBz release];
    [super dealloc];
}
- (void)viewDidUnload {
    [wv release];
    wv = nil;
    [tabBar release];
    tabBar = nil;
    [tbiBd release];
    tbiBd = nil;
    [tbiBz release];
    tbiBz = nil;
    [tbiFj release];
    tbiFj = nil;
    [tvFj release];
    tvFj = nil;
    [tvBz release];
    tvBz = nil;
    [super viewDidUnload];
}

#pragma refreshui

-(void)refreshUIWithThreadGuid:(NSString *)threadGuid andData:(NSObject *)obj
{
    if ([getDetailTaskGuid isEqualToString:threadGuid]) {
        NSString *bs = (NSString *)obj;
        NSLog(@"%@",bs);
    }
}

#pragma tableview

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 0;
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return nil;
}

#pragma tabbar

@end
